package com.itheima.state;

/**
 * @author zzw
 * @date 2025/10/25
 * @description 状态模式测试类
 */
public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.setLiftState(new ClosingState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
